package com.ekingstar.framework.domain;


/**
 * SystemParameter entity. @author MyEclipse Persistence Tools
 */
public class SystemParameter extends AbstractSystemParameter implements
		java.io.Serializable {

	// Constructors
	public static enum ParameterType{University{
		public String toString(){
			return "高校";
		}
	},Colleage{
		public String toString(){
			return "学院";
		}
	},Major{
		public String toString(){
			return "专业";
		}
	},Class{
		public String toString(){
			return "班级";
		}
	},
	StudentType{
		public String toString(){
			return "学生类别";
		}
	},
	Sex{
		public String toString(){
			return "性别";
		}
	},
	Dept{
		public String toString(){
			return "组织架构";
		}
	},
	 Job{
		public String toString(){
			return "工作岗位";
		}
	}
	
	
	};

	/** default constructor */
	private SystemParameter parent;
	public SystemParameter getParent() {
		return parent;
	}

	public void setParent(SystemParameter parent) {
		this.parent = parent;
	}

	public SystemParameter() {
	}

	public boolean equals(Object other){
		if (! (other instanceof SystemParameter)) return false;
		SystemParameter fother = (SystemParameter)other;
		if (this.getId().equals(fother.getId())) return true;
		return false;
	}

}
